<%@page import="com.windfone.common.Constant"%>
<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>历史价格查看  风驰电讯 您最贴心的手机顾问</title>
<%@ include file="headkey.jsp"%>
<%@ include file="head.jsp"%>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>

<body id="pages2">

<!--头部-->
<%@ include file="navigate.jsp" %>
<!--内容-->
<div class="contentBox">
<!--左区-->
<style>
.split_title{
background-attachment:scroll;
background-color:#F2F2F2;
background-image:none;
background-position:0 0;
background-repeat:repeat;
color:#2D9BD8;
font-weight:bold;
height:33px;
line-height:33px;
margin-bottom:10px;
margin-left:0;
margin-right:0;
margin-top:10px;
padding-left:10px;
width:997px;
}
</style>

<c:forEach var="one" items="${groupPricehistorys}" >
<c:forEach items="${one }"  var="record" varStatus="status">
	<c:if test="${ status.index ==0 }">
	<div class="split_title">价格调整日期：
		<fmt:formatDate value="${record.createTime}" type="both" pattern="yyyy年MM月dd日 "/>
	 </div>
		<table class="tbl2" border="1" cellpadding="0" >
				 <tr>
					<th>商品型号</th>
					<th>价格说明</th>
					<th>最新报价</th>
					<th>标准配置</th>
					<th>变动幅度</th>
					<th>变动时间</th>
					</tr>
		</c:if>
				<tr style="cursor: pointer;">
					<td>${record.productName }</td>
				  <td>${record.description }</td>
				  <td>￥${record.price }</td>
				  <td>${record.standar }</td>
				  <td class="money">
				  	<c:if test="${record.range<0}">
				  	<span style="color: rgb(33, 170, 54);">
				  		￥${record.range} ↓
				  	</span>
				  	</c:if>
				  	<c:if test="${ record.range >0}">
				  	<span style="color: rgb(255, 1, 0);">
				  		￥${record.range} ↑
				  	</span>
				  	</c:if>
				  </td>
				  <td>${record.createTime }</td>
				  </tr>
		</c:forEach>				  
			 </table>
</c:forEach>			
 <div    align="center" class="post-footer">
 <a href="priceCenter.action?currentPage=1">首页</a>
 <a href="priceCenter.action?currentPage=<s:property value='prevPage'/>">上一页</a>
 <a href="priceCenter.action?currentPage=<s:property value='nextPage'/>">下一页</a>
 <a href="priceCenter.action?currentPage=<s:property value='totalPage'/>">末页</a>
 	共<s:property value='totalPage'/>页</div>
  <%@ include file="bottom.jsp" %>
</body>
</html>
 